home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2410 / 2410.xpi / chrome / content / foxmarks-resetpin.xul < prev    next >
Extensible Markup Language  |  2010-01-28  |  3KB  |  77 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  
  5.  Copyright 2005-2008 Foxmarks Inc.
  6.  
  7.  foxmarks-resetpin.xul: implements the dialog that appears when
  8.  foxmarks detects that the pin is invalid.
  9.  
  10. -->
  11.  
  12. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  13. <?xml-stylesheet href="chrome://foxmarks/skin/foxmarks.css" type="text/css" ?>
  14.  
  15. <!DOCTYPE dialog SYSTEM "chrome://foxmarks/locale/foxmarks.dtd">
  16.  
  17. <dialog id="foxmarks-resetpin" title="&dialog.title.resetpin;"
  18.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  19.     buttons="accept,cancel"
  20.     defaultButton="accept"
  21.     ondialogaccept="return onResetPINOK();"
  22.     moveToAlertPosition="true">
  23.  
  24.     <script src="foxmarks-settings.js" />
  25.     <script src="shared/passwordmeter.js" />
  26.     <script src="foxmarks-uitools.js" />
  27.     <script src="foxmarks-resetpin.js" />
  28.     <script src="foxmarks-log.js" />
  29.  
  30.     <hbox>
  31.         <vbox>
  32.             <label value="&dialog.title.resetpin;"
  33.                     style="margin-bottom: .5em; 
  34.                     font-weight: bold; 
  35.                     text-transform: uppercase;
  36.                     padding-left: .5em;"
  37.             />
  38.             <vbox style="width: 40em; padding: 1em 1em 1.5em 1em;">
  39.                 <description> 
  40.                     &dialog.resetpin.desc;
  41.                 </description>
  42.                 <description> 
  43.                     &dialog.resetpin.desc2;
  44.                 </description>
  45.                 <hbox align="center">
  46.                     <label value="&dialog.resetpin.pin;" width="90"/>
  47.                     <textbox type="password" id="newpin" width="100"
  48.                         oninput="Xmarks.handlePasswordMeter('newpin');"/>
  49.                     <vbox align="left">
  50.                         <hbox>
  51.                             <label value="&dialog.resetpin.passwordstrength;" />
  52.                             <label value=""
  53.                                 id="passwordStrength" />
  54.                         </hbox>
  55.                         <box class="ps_bkgnd" align="left">
  56.                             <box id="passwordmeter" />
  57.                         </box>
  58.                     </vbox>
  59.                         
  60.                 </hbox>
  61.                 <hbox align="center">
  62.                     <label value="&dialog.resetpin.pinconfirm;" width="90"/>
  63.                     <textbox type="password" id="newpin2" width="100"/>
  64.                 </hbox>
  65.                 <hbox align="center">
  66.                     <label width="90"/>
  67.                     <checkbox id="rememberPin" label="&dialog.label.rememberPIN;" checked="true"/>
  68.                 </hbox>
  69.             </vbox>
  70.          </vbox>
  71.          <vbox>
  72.             <image src="chrome://foxmarks/skin/images/security-icon-bg.png" width="23" height="30" />
  73.             <spacer flex="1" />
  74.          </vbox>
  75.      </hbox>
  76. </dialog>
  77.